Optimal. Leaf size=317 \[ -\frac{\sqrt{a^2+2 a b x+b^2 x^2} (2 d x+e) \sqrt{c+d x^2+e x} \left (2 a d \left (4 c d-5 e^2\right )-b \left (12 c d e-7 e^3\right )\right )}{128 d^4 (a+b x)}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} \left (c+d x^2+e x\right )^{3/2} \left (-6 d x (10 a d-7 b e)+50 a d e+32 b c d-35 b e^2\right )}{240 d^3 (a+b x)}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} \left (4 c d-e^2\right ) \left (8 a c d^2-10 a d e^2-12 b c d e+7 b e^3\right ) \tanh ^{-1}\left (\frac{2 d x+e}{2 \sqrt{d} \sqrt{c+d x^2+e x}}\right )}{256 d^{9/2} (a+b x)}+\frac{b x^2 \sqrt{a^2+2 a b x+b^2 x^2} \left (c+d x^2+e x\right )^{3/2}}{5 d (a+b x)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.833034, antiderivative size = 317, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158 \[ -\frac{\sqrt{a^2+2 a b x+b^2 x^2} \left (c+d x^2+e x\right )^{3/2} \left (-6 d x (10 a d-7 b e)+50 a d e+32 b c d-35 b e^2\right )}{240 d^3 (a+b x)}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} \left (4 c d-e^2\right ) \left (8 a c d^2-10 a d e^2-12 b c d e+7 b e^3\right ) \tanh ^{-1}\left (\frac{2 d x+e}{2 \sqrt{d} \sqrt{c+d x^2+e x}}\right )}{256 d^{9/2} (a+b x)}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} (2 d x+e) \sqrt{c+d x^2+e x} \left (8 a c d^2-10 a d e^2-12 b c d e+7 b e^3\right )}{128 d^4 (a+b x)}+\frac{b x^2 \sqrt{a^2+2 a b x+b^2 x^2} \left (c+d x^2+e x\right )^{3/2}}{5 d (a+b x)} \]
Antiderivative was successfully verified.
[In] Int[x^2*Sqrt[a^2 + 2*a*b*x + b^2*x^2]*Sqrt[c + e*x + d*x^2],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 71.2277, size = 313, normalized size = 0.99 \[ \frac{b x^{2} \sqrt{a^{2} + 2 a b x + b^{2} x^{2}} \left (c + d x^{2} + e x\right )^{\frac{3}{2}}}{5 d \left (a + b x\right )} + \frac{\sqrt{a^{2} + 2 a b x + b^{2} x^{2}} \left (c + d x^{2} + e x\right )^{\frac{3}{2}} \left (- 25 a d e - 16 b c d + \frac{35 b e^{2}}{2} + 3 d x \left (10 a d - 7 b e\right )\right )}{120 d^{3} \left (a + b x\right )} - \frac{\left (2 d x + e\right ) \sqrt{a^{2} + 2 a b x + b^{2} x^{2}} \sqrt{c + d x^{2} + e x} \left (8 a c d^{2} - 10 a d e^{2} - 12 b c d e + 7 b e^{3}\right )}{128 d^{4} \left (a + b x\right )} + \frac{\left (- 4 c d + e^{2}\right ) \sqrt{a^{2} + 2 a b x + b^{2} x^{2}} \left (8 a c d^{2} - 10 a d e^{2} - 12 b c d e + 7 b e^{3}\right ) \operatorname{atanh}{\left (\frac{2 d x + e}{2 \sqrt{d} \sqrt{c + d x^{2} + e x}} \right )}}{256 d^{\frac{9}{2}} \left (a + b x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2*((b*x+a)**2)**(1/2)*(d*x**2+e*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.431116, size = 236, normalized size = 0.74 \[ \frac{\sqrt{(a+b x)^2} \left (\frac{2 \sqrt{c+x (d x+e)} \left (10 a d \left (4 c d (6 d x-13 e)+48 d^3 x^3+8 d^2 e x^2-10 d e^2 x+15 e^3\right )+b \left (-256 c^2 d^2+4 c d \left (32 d^2 x^2-58 d e x+115 e^2\right )+384 d^4 x^4+48 d^3 e x^3-56 d^2 e^2 x^2+70 d e^3 x-105 e^4\right )\right )}{15 d^4}-\frac{\left (4 c d-e^2\right ) \left (2 a d \left (4 c d-5 e^2\right )+b \left (7 e^3-12 c d e\right )\right ) \log \left (2 \sqrt{d} \sqrt{c+x (d x+e)}+2 d x+e\right )}{d^{9/2}}\right )}{256 (a+b x)} \]
Antiderivative was successfully verified.
[In] Integrate[x^2*Sqrt[a^2 + 2*a*b*x + b^2*x^2]*Sqrt[c + e*x + d*x^2],x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.022, size = 532, normalized size = 1.7 \[ -{\frac{{\it csgn} \left ( bx+a \right ) }{3840} \left ( -768\,b{x}^{2} \left ( d{x}^{2}+ex+c \right ) ^{3/2}{d}^{15/2}-960\,ax \left ( d{x}^{2}+ex+c \right ) ^{3/2}{d}^{15/2}+672\,bex \left ( d{x}^{2}+ex+c \right ) ^{3/2}{d}^{13/2}+800\,ae \left ( d{x}^{2}+ex+c \right ) ^{3/2}{d}^{13/2}+512\,bc \left ( d{x}^{2}+ex+c \right ) ^{3/2}{d}^{13/2}-560\,b{e}^{2} \left ( d{x}^{2}+ex+c \right ) ^{3/2}{d}^{11/2}+480\,ac\sqrt{d{x}^{2}+ex+c}x{d}^{15/2}-600\,a{e}^{2}\sqrt{d{x}^{2}+ex+c}x{d}^{13/2}-720\,bec\sqrt{d{x}^{2}+ex+c}x{d}^{13/2}+420\,b{e}^{3}\sqrt{d{x}^{2}+ex+c}x{d}^{11/2}+240\,ac\sqrt{d{x}^{2}+ex+c}e{d}^{13/2}-300\,a{e}^{3}\sqrt{d{x}^{2}+ex+c}{d}^{11/2}-360\,b{e}^{2}c\sqrt{d{x}^{2}+ex+c}{d}^{11/2}+210\,b{e}^{4}\sqrt{d{x}^{2}+ex+c}{d}^{9/2}+480\,a{c}^{2}\ln \left ( 1/2\,{\frac{2\,\sqrt{d{x}^{2}+ex+c}\sqrt{d}+2\,dx+e}{\sqrt{d}}} \right ){d}^{7}-720\,a{e}^{2}\ln \left ( 1/2\,{\frac{2\,\sqrt{d{x}^{2}+ex+c}\sqrt{d}+2\,dx+e}{\sqrt{d}}} \right ) c{d}^{6}-720\,be{c}^{2}\ln \left ( 1/2\,{\frac{2\,\sqrt{d{x}^{2}+ex+c}\sqrt{d}+2\,dx+e}{\sqrt{d}}} \right ){d}^{6}+150\,a{e}^{4}\ln \left ( 1/2\,{\frac{2\,\sqrt{d{x}^{2}+ex+c}\sqrt{d}+2\,dx+e}{\sqrt{d}}} \right ){d}^{5}+600\,b{e}^{3}\ln \left ( 1/2\,{\frac{2\,\sqrt{d{x}^{2}+ex+c}\sqrt{d}+2\,dx+e}{\sqrt{d}}} \right ) c{d}^{5}-105\,b{e}^{5}\ln \left ( 1/2\,{\frac{2\,\sqrt{d{x}^{2}+ex+c}\sqrt{d}+2\,dx+e}{\sqrt{d}}} \right ){d}^{4} \right ){d}^{-{\frac{17}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2*((b*x+a)^2)^(1/2)*(d*x^2+e*x+c)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x^2 + e*x + c)*sqrt((b*x + a)^2)*x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.353961, size = 1, normalized size = 0. \[ \left [\frac{4 \,{\left (384 \, b d^{4} x^{4} - 256 \, b c^{2} d^{2} - 520 \, a c d^{2} e + 460 \, b c d e^{2} + 150 \, a d e^{3} - 105 \, b e^{4} + 48 \,{\left (10 \, a d^{4} + b d^{3} e\right )} x^{3} + 8 \,{\left (16 \, b c d^{3} + 10 \, a d^{3} e - 7 \, b d^{2} e^{2}\right )} x^{2} + 2 \,{\left (120 \, a c d^{3} - 116 \, b c d^{2} e - 50 \, a d^{2} e^{2} + 35 \, b d e^{3}\right )} x\right )} \sqrt{d x^{2} + e x + c} \sqrt{d} - 15 \,{\left (32 \, a c^{2} d^{3} - 48 \, b c^{2} d^{2} e - 48 \, a c d^{2} e^{2} + 40 \, b c d e^{3} + 10 \, a d e^{4} - 7 \, b e^{5}\right )} \log \left (4 \,{\left (2 \, d^{2} x + d e\right )} \sqrt{d x^{2} + e x + c} +{\left (8 \, d^{2} x^{2} + 8 \, d e x + 4 \, c d + e^{2}\right )} \sqrt{d}\right )}{7680 \, d^{\frac{9}{2}}}, \frac{2 \,{\left (384 \, b d^{4} x^{4} - 256 \, b c^{2} d^{2} - 520 \, a c d^{2} e + 460 \, b c d e^{2} + 150 \, a d e^{3} - 105 \, b e^{4} + 48 \,{\left (10 \, a d^{4} + b d^{3} e\right )} x^{3} + 8 \,{\left (16 \, b c d^{3} + 10 \, a d^{3} e - 7 \, b d^{2} e^{2}\right )} x^{2} + 2 \,{\left (120 \, a c d^{3} - 116 \, b c d^{2} e - 50 \, a d^{2} e^{2} + 35 \, b d e^{3}\right )} x\right )} \sqrt{d x^{2} + e x + c} \sqrt{-d} - 15 \,{\left (32 \, a c^{2} d^{3} - 48 \, b c^{2} d^{2} e - 48 \, a c d^{2} e^{2} + 40 \, b c d e^{3} + 10 \, a d e^{4} - 7 \, b e^{5}\right )} \arctan \left (\frac{{\left (2 \, d x + e\right )} \sqrt{-d}}{2 \, \sqrt{d x^{2} + e x + c} d}\right )}{3840 \, \sqrt{-d} d^{4}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x^2 + e*x + c)*sqrt((b*x + a)^2)*x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2*((b*x+a)**2)**(1/2)*(d*x**2+e*x+c)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.289018, size = 497, normalized size = 1.57 \[ \frac{1}{1920} \, \sqrt{d x^{2} + x e + c}{\left (2 \,{\left (4 \,{\left (6 \,{\left (8 \, b x{\rm sign}\left (b x + a\right ) + \frac{10 \, a d^{4}{\rm sign}\left (b x + a\right ) + b d^{3} e{\rm sign}\left (b x + a\right )}{d^{4}}\right )} x + \frac{16 \, b c d^{3}{\rm sign}\left (b x + a\right ) + 10 \, a d^{3} e{\rm sign}\left (b x + a\right ) - 7 \, b d^{2} e^{2}{\rm sign}\left (b x + a\right )}{d^{4}}\right )} x + \frac{120 \, a c d^{3}{\rm sign}\left (b x + a\right ) - 116 \, b c d^{2} e{\rm sign}\left (b x + a\right ) - 50 \, a d^{2} e^{2}{\rm sign}\left (b x + a\right ) + 35 \, b d e^{3}{\rm sign}\left (b x + a\right )}{d^{4}}\right )} x - \frac{256 \, b c^{2} d^{2}{\rm sign}\left (b x + a\right ) + 520 \, a c d^{2} e{\rm sign}\left (b x + a\right ) - 460 \, b c d e^{2}{\rm sign}\left (b x + a\right ) - 150 \, a d e^{3}{\rm sign}\left (b x + a\right ) + 105 \, b e^{4}{\rm sign}\left (b x + a\right )}{d^{4}}\right )} + \frac{{\left (32 \, a c^{2} d^{3}{\rm sign}\left (b x + a\right ) - 48 \, b c^{2} d^{2} e{\rm sign}\left (b x + a\right ) - 48 \, a c d^{2} e^{2}{\rm sign}\left (b x + a\right ) + 40 \, b c d e^{3}{\rm sign}\left (b x + a\right ) + 10 \, a d e^{4}{\rm sign}\left (b x + a\right ) - 7 \, b e^{5}{\rm sign}\left (b x + a\right )\right )}{\rm ln}\left ({\left | -2 \,{\left (\sqrt{d} x - \sqrt{d x^{2} + x e + c}\right )} \sqrt{d} - e \right |}\right )}{256 \, d^{\frac{9}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(d*x^2 + e*x + c)*sqrt((b*x + a)^2)*x^2,x, algorithm="giac")
[Out]